//发请求获取对应的数据

$.get('/posts/count', function (response) {
    $('#post').html(`<strong>${response.postCount}</strong>篇文章（<strong>${response.draftCount}</strong>篇草稿）`)
})

$.get('/categories/count', function (response) {
    $('#category').html(`<strong>${response.categoryCount}</strong>个分类`)
})

$.get('/comments/count', function (response) {
    $('#comment').html(`<strong>${response.commentCount}</strong>条评论`)
})
